import React from "react";
import {
    HashRouter,//路由管理者
    Switch,//排他路由
    Route//路由对象
} from "react-router-dom";

import BordDetail from "../list/BordDetail";
import BordList from "../list/BordList";

class Resign extends React.Component{
    constructor(props){
        super(props);

    }

    render(){
        return(
            <HashRouter>
                <Switch>
                    <Route path="/BordDetail" component={BordDetail}></Route>
                    <Route path="/" component={BordList}></Route>
                </Switch>
            </HashRouter>
        )
    }
}

export default Resign;